package com.client.mapper;

import com.Emplyment.vo.PayResultVo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

@Mapper
public interface MemberCenterMapper {


    @Insert("insert into super_user(out_trade_no, trade_no, total_amount, subject,username) values(#{outTradeNo}, #{tradeNo}, #{totalAmount}, #{subject}, #{username})")
    void updataPayStatus(PayResultVo payResultVo);

    @Select("select count(Id) from super_user where username = #{username}")
    Integer getMenberInfo(String username);
}
